﻿#ifndef _HTTP_PROXY_H_

#include <string>
#include <iostream>
#include <filesystem>
#include <fstream>

#include <yaml-cpp/yaml.h>

#include "netserver.h"
#include "https-service.h"

class HttpProxy {
    HttpProxy();
	~HttpProxy();

public:
    int receipt();
    int request();
    int response();

private:
    YAML::Node load_config();
    void initialize_winsock();
    void init();
    void destroy();
};

#endif // !_HTTP_PROXY_H_
